<?xml version="1.0" encoding="UTF-8"?>
<ui:composition xmlns="http://www.w3.org/1999/xhtml"
                xmlns:f="http://java.sun.com/jsf/core"
                xmlns:c="http://java.sun.com/jsf/composite"
                xmlns:ui="http://java.sun.com/jsf/facelets"
                xmlns:h="http://java.sun.com/jsf/html"
                xmlns:p="http://primefaces.prime.com.tr/ui"
                template="/WEB-INF/templates/default.xhtml">
    <ui:param name="controller" value="#{clavis}"/>
    <ui:param name="title" value="Clavis"/>
    <ui:define name="content">
        <p:dataTable value="#{clavis.albums}" var="albumRow">
            <f:facet name="header">
                <h:outputText value="Albums"/>
            </f:facet>
            <f:facet name="footer">
                <h:button value="New Album..." outcome="NewAlbum"/>
            </f:facet>
            <p:column>
                <f:facet name="header">
                    <h:outputText value="Title"/>
                </f:facet>
                <h:outputText value="#{albumRow.name}"/>
            </p:column>
        </p:dataTable>
    </ui:define>
</ui:composition>